/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package carreras.ganador.test;

import java.util.ArrayList;

/**
 *
 * @author Fanky10 <fanky10@gmail.com>
 */
public class Carrera extends ArrayList<Carril> {
    public void elimina_perdedor(){
        for(Carril c: this){
            if(c.isEs_perdedor())
                this.remove(c);
        }
    }
}
